Optimal. Leaf size=937 \[ -\frac {\sqrt {d g-c h} \sqrt {f g-e h} (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right ) C}{4 b d^2 f^2 h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {(b e-a f) \sqrt {b g-a h} (a d f h+b (c f h+3 d (f g+e h))) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right ) C}{4 b^2 d f^2 h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} C}{2 d f h}+\frac {(a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x} C}{4 b d f^2 h^2 \sqrt {c+d x}}-\frac {\sqrt {c h-d g} (C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{4 b^2 d^2 \sqrt {b c-a d} f^2 h^3 \sqrt {c+d x} \sqrt {e+f x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 2.28, antiderivative size = 936, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 9, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.204, Rules used = {1601, 1602, 1598, 170, 419, 165, 537, 176, 424} \[ -\frac {\sqrt {d g-c h} \sqrt {f g-e h} (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right ) C}{4 b d^2 f^2 h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {(b e-a f) \sqrt {b g-a h} (b c f h+a d f h+3 b d (f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right ) C}{4 b^2 d f^2 h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x} C}{2 d f h}+\frac {(a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x} C}{4 b d f^2 h^2 \sqrt {c+d x}}-\frac {\sqrt {c h-d g} (C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{4 b^2 d^2 \sqrt {b c-a d} f^2 h^3 \sqrt {c+d x} \sqrt {e+f x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 165
Rule 170
Rule 176
Rule 419
Rule 424
Rule 537
Rule 1598
Rule 1601
Rule 1602
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b x} \left (A+C x^2\right )}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx &=\frac {C \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{2 d f h}+\frac {\int \frac {4 a A d f h-C (b c e g+a (d e g+c f g+c e h))+2 (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h))) x+C (a d f h-3 b (d f g+d e h+c f h)) x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{4 d f h}\\ &=\frac {C (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{4 b d f^2 h^2 \sqrt {c+d x}}+\frac {C \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{2 d f h}+\frac {\int \frac {-C (b d e g+a c f h) (a d f h-3 b (d f g+d e h+c f h))+2 b d f h (4 a A d f h-C (b c e g+a (d e g+c f g+c e h)))-(C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) x}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{8 b d^2 f^2 h^2}+\frac {(C (d e-c f) (d g-c h) (a d f h-3 b (d f g+d e h+c f h))) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{8 b d^2 f^2 h^2}\\ &=\frac {C (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{4 b d f^2 h^2 \sqrt {c+d x}}+\frac {C \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{2 d f h}+\frac {(C (b e-a f) (b g-a h) (b c f h+a d f h+3 b d (f g+e h))) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{8 b^2 d f^2 h^2}-\frac {(C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{8 b^2 d^2 f^2 h^2}-\frac {\left (C (d g-c h) (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{4 b d^2 f^2 h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}\\ &=\frac {C (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{4 b d f^2 h^2 \sqrt {c+d x}}+\frac {C \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{2 d f h}-\frac {C \sqrt {d g-c h} \sqrt {f g-e h} (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{4 b d^2 f^2 h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {\left ((C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (h-b x^2\right ) \sqrt {1+\frac {(b c-a d) x^2}{d g-c h}} \sqrt {1+\frac {(b e-a f) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {g+h x}}{\sqrt {a+b x}}\right )}{4 b^2 d^2 f^2 h^2 \sqrt {c+d x} \sqrt {e+f x}}+\frac {\left (C (b e-a f) (b g-a h) (b c f h+a d f h+3 b d (f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{4 b^2 d f^2 h^2 (f g-e h) \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}\\ &=\frac {C (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{4 b d f^2 h^2 \sqrt {c+d x}}+\frac {C \sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}{2 d f h}-\frac {C \sqrt {d g-c h} \sqrt {f g-e h} (a d f h-3 b (d f g+d e h+c f h)) \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{4 b d^2 f^2 h^2 \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {C (b e-a f) \sqrt {b g-a h} (b c f h+a d f h+3 b d (f g+e h)) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{4 b^2 d f^2 h^2 \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}-\frac {\sqrt {-d g+c h} (C (a d f h-3 b (d f g+d e h+c f h)) (a d f h+b (d f g+d e h+c f h))-4 b d f h (2 A b d f h-C (b (d e g+c f g+c e h)+a (d f g+d e h+c f h)))) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{4 b^2 d^2 \sqrt {b c-a d} f^2 h^3 \sqrt {c+d x} \sqrt {e+f x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 17.32, size = 16699, normalized size = 17.82 \[ \text {Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (C x^{2} + A\right )} \sqrt {b x + a}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.13, size = 42545, normalized size = 45.41 \[ \text {output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (C x^{2} + A\right )} \sqrt {b x + a}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\left (C\,x^2+A\right )\,\sqrt {a+b\,x}}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\sqrt {c+d\,x}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (A + C x^{2}\right ) \sqrt {a + b x}}{\sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________